#ifndef CBINDGEN_BINDINGS_H
#define CBINDGEN_BINDINGS_H

#import <UIKit/UIKit.h>
#import <MetalKit/MetalKit.h>
#import <Metal/Metal.h>

id<MTLCommandQueue> command_queue(CAMetalLayer *layer);

void re_draw(CAMetalLayer *layer,
             id<MTLCommandQueue> command_queue,
             id<MTLRenderPipelineState> pipeline_state,
             id<MTLBuffer> v_buf);

id<MTLRenderPipelineState> prepare_pipeline_state(id<MTLDevice> device, id<MTLFunction> vert, id<MTLFunction> frag);

#endif // CBINDGEN_BINDINGS_H
